<%@ taglib prefix="s" uri="/struts-tags"%>

<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<link href="../../css/style.css" rel="stylesheet" type="text/css" />
<s:set name="lang" var="lang" value="'application'" />
<s:if test="%{#session.WW_TRANS_I18N_LOCALE != null}">
	<s:set var="lang"
		value="'application_' + #session.WW_TRANS_I18N_LOCALE" />
</s:if>
<s:i18n name="application">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td>
				<div class="blue-text16" style="margin: 0px 0px 0px 0px">
					<s:text name="compareItem.header" />
				</div>
				<div class="header-separator-bg" style="margin: 10px 5px 17px 0px"></div>
				<div style="margin: 0px 0px 12px 0px">
					<table border="0" cellpadding="0" cellspacing="0" width="100%">
						<tr>
							<td width="15%" valign="top">
								<table border="0" cellpadding="0" cellspacing="1" width="100%">
									<tr>
										<td align="left" valign="middle" height="29"
											class="grid-header-bg  grid-header-text ">
											<s:text name="advertisingWatchingothers.itemnr" />
										</td>
									</tr>
									<tr>
										<td width="50%" height="65" align="left" valign="middle"
											class="grid-header-bg grid-header-text">
											Photo
										</td>
									</tr>
									<tr>
										<td align="left" valign="middle" height="29"
											class="grid-header-bg  grid-header-text">
											<s:text name="UserShop.para4" />
										</td>
									</tr>
									<tr>
										<td align="left" valign="middle" height="29"
											class="grid-header-bg  grid-header-text">
											<s:text name="UserShop.para9" />
										</td>
									</tr>
									<tr>
										<td align="left" valign="middle" height="29"
											class="grid-header-bg  grid-header-text">
											<s:text name="UserShop.para8" />
										</td>
									</tr>
									<tr>
										<td align="left" valign="middle" height="29"
											class="grid-header-bg  grid-header-text">
											<s:text name="fineitem.para6.3" />
										</td>
									</tr>
									<tr>
										<td align="left" valign="middle" height="29"
											class="grid-header-bg  grid-header-text">
											<s:text name="UserShop.para7" />
										</td>
									</tr>
									<tr>
										<td align="left" valign="middle" height="29"
											class="grid-header-bg  grid-header-text">
											<s:text name="allItemsForSale.shipping" />
										</td>
									</tr>
									<tr>
										<td align="left" valign="middle" height="29"
											class="grid-header-bg  grid-header-text">
											<s:text name="compareItem.shipfrom" />
										</td>
									</tr>
									<tr>
										<td align="left" valign="middle" height="29"
											class="grid-header-bg  grid-header-text">
											<s:text name="compareItem.paymentmethods" />
										</td>
									</tr>
									<tr>
										<td align="left" valign="middle" height="29"
											class="grid-header-bg  grid-header-text">
											<s:text name="sellingauction.BuyNow" />
										</td>
									</tr>
									<tr>
										<td align="left" valign="middle" height="29"
											class="grid-header-bg  grid-header-text">
											<s:text name="compareItem.highbidder" />
										</td>
									</tr>
									<tr>
										<td align="left" valign="middle" height="29"
											class="grid-header-bg  grid-header-text">
											<s:text name="compareItem.region" />
										</td>
									</tr>
									<tr>
										<td align="left" valign="middle" height="29"
											class="grid-header-bg  grid-header-text">
											<s:text name="buyPurchase.country" />
										</td>
									</tr>
								</table>
							</td>
							<!-- Values for compared items. -->
							<s:iterator value="compareItemsList">
								<td width="15%" valign="top">
									<table border="0" cellpadding="0" cellspacing="1" width="100%">
										<tr>
											<td height="29" align="left" valign="middle" class="grid-bg common-text ">
												<s:property value="itemId" />
											</td>
										</tr>
										<tr>
											<td width="50%" height="59" align="left" valign="middle"
												class="grid-bg common-text">
												<img
													src="servlet/ImageServlet?dto=ItemsDTO&id=<s:property value="itemId"/>"
													alt="" class="product-border" height="45" width="45">
												<br>
												<a
													href="showItem.htm?cid=<s:property value="itemId"/>&p=createAuction"
													title="<s:property value="title"/>"> <s:property
														value="title" /> <s:if test="#attr.row.giftIcon != null ">
														<img src="images/<s:property value="#attr.row.giftIcon"/>"
															title="Gift" border="0">
													</s:if> <s:if test="#attr.row.bids.size > 0">
														<img src="images/type_auction_icon.gif" title="Auction"
															border="0">
													</s:if> <s:if test="#attr.row.HomePageFeatured == true">
														<img src="images/featured.gif" title="Featured" border="0">
													</s:if> <s:if
														test="#attr.row.bids.size >= listingOptions.coolItemBids">
														<!-- bids.size >= listingOptions.coolItemBids -->
														<img src="images/cool.gif" title="Cool" border="0">
													</s:if> <s:elseif
														test="#attr.row.bids.size >= listingOptions.hotItemBids">
														<!-- bids.size >= listingOptions.coolItemBids -->
														<img src="images/hot.gif" title="Hot" border="0">
													</s:elseif> <s:if test="#attr.row.buyPrice > 0.0">
														<img src="images/buyitnow.gif" title="Buy Now" border="0">
													</s:if>
											</td>
										</tr>
										<tr>
											<td height="29" align="left" valign="middle" class="grid-bg common-text">
												<s:property value="title" />
											</td>
										</tr>
										<tr>
											<td height="29" align="left" valign="middle" class="grid-bg common-text">
												<s:if test="%{closed == true}">
													<b>Closed</b>
												</s:if>
												<s:else>
													<s:date name="endTime" nice="true" />
												</s:else>
											</td>
										</tr>
										<tr>
											<td height="29" align="left" valign="middle" class="grid-bg common-text">
												<s:property value="bids.size"/>
											</td>
										</tr>
										<tr>
											<td height="29" align="left" valign="middle" class="grid-bg common-text">
												<s:property value="userId.userId"/>
											</td>
										</tr>
										<tr>
											<td height="29" align="left" valign="middle" class="grid-bg common-text">
												<s:property value="reserve"/>
											</td>
										</tr>
										<tr>
											<td height="29" align="left" valign="middle" class="grid-bg common-text">
												<s:property value="shipPayment"/>
											</td>
										</tr>
										<tr>
											<td height="29" align="left" valign="middle" class="grid-bg common-text">
												<s:property value="locationCategoriesByCountry.categoryName"/>
											</td>
										</tr>
										<tr>
											<td height="29" align="left" valign="middle" class="grid-bg common-text">
												<s:property value="paymentMethods"/>
											</td>
										</tr>
										<tr>
											<td height="29" align="left" valign="middle" class="grid-bg common-text">
												<s:property value="buyPrice"/>
											</td>
										</tr>
										<tr>
											<td height="29" align="left" valign="middle" class="grid-bg common-text">
												<s:property value="bidder.userId"/>
											</td>
										</tr>
										<tr>
											<td height="29" align="left" valign="middle" class="grid-bg common-text">
												<s:property value="locationCategoriesByRegion.categoryName"/>
											</td>
										</tr>
										<tr>
											<td height="29" align="left" valign="middle" class="grid-bg common-text">
												<s:property value="locationCategoriesByCountry.categoryName"/>
											</td>
										</tr>
									</table>
								</td>
							</s:iterator>
						</tr>

					</table>
				</div>
			</td>
		</tr>
	</table>
</s:i18n>
